-- GENERATED SPELL FOR [Bloodfury Roguefeather] --


function spell0_4023(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_4023', 665, 1)
end

function Sorts_4023(pUnit, Event)
local choix_sorts_4023 = math.random(0, 0)
if choix_sorts_4023 == 0 then
pUnit:RegisterEvent('spell0_4023', 1, 1)
end
end

function mob4023_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4023', math.random(1500, 3000), 1)
end

function mob4023_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4023_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4023_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4023, 1, 'mob4023_Action')
RegisterUnitEvent(4023, 2, 'mob4023_Leave')
RegisterUnitEvent(4023, 3, 'mob4023_Kill')
RegisterUnitEvent(4023, 4, 'mob4023_Die')
